package com.zaozhuang.robot.websocket;

import java.util.List;

public class SocketMessageEndEntity {
    private String event;
    private String conversation_id;
    private String message_id;
    private long created_at;
    private String task_id;
    private String id;
    private Metadata metadata;
    private List<String> files;
    public void setEvent(String event) {
        this.event = event;
    }
    public String getEvent() {
        return event;
    }

    public void setConversation_id(String conversation_id) {
        this.conversation_id = conversation_id;
    }
    public String getConversation_id() {
        return conversation_id;
    }

    public void setMessage_id(String message_id) {
        this.message_id = message_id;
    }
    public String getMessage_id() {
        return message_id;
    }

    public void setCreated_at(long created_at) {
        this.created_at = created_at;
    }
    public long getCreated_at() {
        return created_at;
    }

    public void setTask_id(String task_id) {
        this.task_id = task_id;
    }
    public String getTask_id() {
        return task_id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getId() {
        return id;
    }

    public void setMetadata(Metadata metadata) {
        this.metadata = metadata;
    }
    public Metadata getMetadata() {
        return metadata;
    }

    public void setFiles(List<String> files) {
        this.files = files;
    }
    public List<String> getFiles() {
        return files;
    }


    public class Usage {

        private int prompt_tokens;
        private String prompt_unit_price;
        private String prompt_price_unit;
        private String prompt_price;
        private int completion_tokens;
        private String completion_unit_price;
        private String completion_price_unit;
        private String completion_price;
        private int total_tokens;
        private String total_price;
        private String currency;
        private double latency;
        public void setPrompt_tokens(int prompt_tokens) {
            this.prompt_tokens = prompt_tokens;
        }
        public int getPrompt_tokens() {
            return prompt_tokens;
        }

        public void setPrompt_unit_price(String prompt_unit_price) {
            this.prompt_unit_price = prompt_unit_price;
        }
        public String getPrompt_unit_price() {
            return prompt_unit_price;
        }

        public void setPrompt_price_unit(String prompt_price_unit) {
            this.prompt_price_unit = prompt_price_unit;
        }
        public String getPrompt_price_unit() {
            return prompt_price_unit;
        }

        public void setPrompt_price(String prompt_price) {
            this.prompt_price = prompt_price;
        }
        public String getPrompt_price() {
            return prompt_price;
        }

        public void setCompletion_tokens(int completion_tokens) {
            this.completion_tokens = completion_tokens;
        }
        public int getCompletion_tokens() {
            return completion_tokens;
        }

        public void setCompletion_unit_price(String completion_unit_price) {
            this.completion_unit_price = completion_unit_price;
        }
        public String getCompletion_unit_price() {
            return completion_unit_price;
        }

        public void setCompletion_price_unit(String completion_price_unit) {
            this.completion_price_unit = completion_price_unit;
        }
        public String getCompletion_price_unit() {
            return completion_price_unit;
        }

        public void setCompletion_price(String completion_price) {
            this.completion_price = completion_price;
        }
        public String getCompletion_price() {
            return completion_price;
        }

        public void setTotal_tokens(int total_tokens) {
            this.total_tokens = total_tokens;
        }
        public int getTotal_tokens() {
            return total_tokens;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }
        public String getTotal_price() {
            return total_price;
        }

        public void setCurrency(String currency) {
            this.currency = currency;
        }
        public String getCurrency() {
            return currency;
        }

        public void setLatency(double latency) {
            this.latency = latency;
        }
        public double getLatency() {
            return latency;
        }

    }

    public class Metadata {

//        private List<String> retriever_resources;
        private Usage usage;
//        public void setRetriever_resources(List<String> retriever_resources) {
//            this.retriever_resources = retriever_resources;
//        }
//        public List<String> getRetriever_resources() {
//            return retriever_resources;
//        }

        public void setUsage(Usage usage) {
            this.usage = usage;
        }
        public Usage getUsage() {
            return usage;
        }

    }
}
